package com.kexun.entity.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/*用户实体*/
@Data
@TableName("sec_manage")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Manage implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private int id;

    private String openId;

    private String manageName;

    private String nickName;

    private String password;

    private String manageDesc;

    private String phone;

    private Integer isLock;

    private String createTime;

    private String updateTime;

    private String salt;

    private Integer roleId;

    private Integer openPush;

    @TableField(exist = false)
    private Role role;

    private Integer departmentId;//后面改部门


}
